package org.example.ordermonitor;

public class OrderEvent {
    public Long orderId;
    public String eventType;
    public Long eventTime;

    public OrderEvent(Long orderId, String eventType, Long eventTime) {
        this.orderId = orderId;
        this.eventType = eventType;
        this.eventTime = eventTime;
    }

    public Long getEventTime() {
        return eventTime;
    }

    public void setEventTime(Long userId) {
        this.eventTime = eventTime;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String type) {
        this.eventType = type;
    }
}
